﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Service.User.DTO
{
    public class LoginDto
    {

        public string userName { get; set; }

        public string userPassword { get; set; }
    }

    public class LoginRes
    {
        public int userId { get; set; }
        public string userName { get; set; }
        public int showColor { get; set; }
        public string? showColorName { get; set; }

        public string? Token { get; set; }

    }

    public class SelectColorDTO
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int userId { get; set; }
        /// <summary>
        /// 颜色编号
        /// </summary>
        public int showColor { get; set; }
        public string? showColorName { get; set; }
    }

    public class UserRoleDTO
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? MobilePhone { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 是否修改密码
        /// </summary>
        public bool? IsModifyPwd { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int? DepartmentId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public string RoleIds { get; set; }

        public DateTime? CreateDate { get; set; }
    }
}
